package com.aispeech.asr.clib.post;

import com.sun.jna.Structure;

@Structure.FieldOrder({
        "smooth_punc_unite_time", "txtsmooth_time", "punc_time", "pinyin_time", "hotwords_time", "paragraph_time", "itn_time", "sensitive_time",
        "new_start_ts", "feed_start_ts", "smooth_punc_start_ts", "smooth_start_ts", "punc_start_ts", "pinyin_start_ts", "hotword_start_ts",
        "paragraph_start_ts", "itn_start_ts", "sensitive_start_ts"
})
public class PostMetricsStruct extends Structure {
    public int smooth_punc_unite_time;                    //口语顺滑+标点的耗时，单位毫秒
    public int txtsmooth_time;                            //口语顺滑的耗时，单位毫秒， 废弃
    public int punc_time;                                 //标点的耗时，单位毫秒， 废弃
    public int pinyin_time;                               //拼音的耗时，单位毫秒
    public int hotwords_time;                             //热词的耗时，单位毫秒
    public int paragraph_time;                            //文本分段的耗时，单位毫秒
    public int itn_time;                                  //逆文本的耗时，单位毫秒
    public int sensitive_time;                            //敏感词的耗时，单位毫秒
    public long new_start_ts;                             //post库开始new的时间戳，毫秒级
    public long feed_start_ts;                            //post库开始feed的时间戳，毫秒级
    public long smooth_punc_start_ts;                     //post库开始口语顺滑+标点的时间戳，毫秒级
    public long smooth_start_ts;                          //post库开始口语顺滑的时间戳，毫秒级， 废弃
    public long punc_start_ts;                            //post库开始标点的时间戳，毫秒级， 废弃
    public long pinyin_start_ts;                          //post库开始拼音的时间戳，毫秒级
    public long hotword_start_ts;                         //post库开始热词的时间戳，毫秒级
    public long paragraph_start_ts;                       //post库开始文本分段的时间戳，毫秒级
    public long itn_start_ts;                             //post库开始逆文本的时间戳，毫秒级
    public long sensitive_start_ts;                       //post库开始敏感词的时间戳，毫秒级

    public static class ByReference extends PostMetricsStruct implements Structure.ByReference {
    }
}
